package com.revzone.demo001.service;

import com.revzone.demo001.entity.Result;
import com.revzone.demo001.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.revzone.demo001.entity.UserRoleDTO;

/**
* @author Admin
* @description 针对表【user】的数据库操作Service
* @createDate 2025-06-25 10:01:25
*/
public interface UserService_old extends IService<User> {
    public User authenticate(String username, String rawPassword);
    public User registerUser(User user);
    public Result saveUserWithRole(UserRoleDTO userroleDTO);
    public Result updateUserWithRole(UserRoleDTO userroleDTO);
    public Result deleteUserWithRole(Integer userId);
    public Result resetPassword(Integer id, String password );

}
